package main.java.chessfootball.model.game;

/**
 * User: Igor
 * Date: 10.06.2011
 * Time: 21:49:48
 */
public enum Side
{
	HOME(0),
	OPPOSING(1);

	private static Side[] inverts = {Side.OPPOSING, Side.HOME};

	private int id;

	Side(int id)
	{
		this.id = id;
	}

	public int getId()
	{
		return id;
	}

	public Side getInvert()
	{
		return inverts[id];
	}
}
